package com.icloud.system.boot.dto;

import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 修改密码入参
 */
@Data
public class UpdatePasswordDto {
    @NotBlank(message = ValidateConstant.NOT_BLANK)
    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @NotBlank(message = ValidateConstant.NOT_BLANK)
    @ApiModelProperty(value = "确认密码", required = true)
    private String confirmPassword;
}
